//
//  TZLoadRegistView.m
//  BSBDJ
//
//  Created by user on 16/5/24.
//  Copyright © 2016年 Burning. All rights reserved.
//

#import "TZLoadRegistView.h"
#import "UIImage+image.h"



@interface TZLoadRegistView()
@property (weak, nonatomic) IBOutlet UIButton *load_Btn;
@end

@implementation TZLoadRegistView



- (IBAction)loadBtnClick {

   
    NSLog(@"登陆");

}





- (void)awakeFromNib{
    
     UIImage *btnImage = self.load_Btn.currentBackgroundImage;
    [_load_Btn setBackgroundImage:[btnImage stretchableImageWithLeftCapWidth:btnImage.size.width *0.5 topCapHeight:btnImage.size.height *0.5] forState:0];
    
}
+ (instancetype)switchRegistView{
    return [[NSBundle mainBundle]loadNibNamed:@"TZLoadRegistView" owner:nil options:nil][1];
}
+ (instancetype)switchLoadView
{
    return [[NSBundle mainBundle]loadNibNamed:@"TZLoadRegistView" owner:nil options:nil][0];
}


@end
